#pragma once
#include "baselist.h"
#include "ContactGroup.h"
class CContactBook :
	public CBaseList
{
public:
	CContactBook(void);
	virtual CBaseElement* NewNode();
	virtual ~CContactBook(void);
	virtual void ParseXMLNode();
	BOOL LoadFromFile(const liveneo::tstring & csFileName);
	BOOL SaveToFile(const liveneo::tstring &csFileName);
	void CreateNewProject(const liveneo::tstring caption,const liveneo::tstring name);
	void AddContactGroup(CContactGroup* obj);
private:
	liveneo::tstring m_sFileName;
	TiXmlDocument * m_pXMLDoc;
};
